class CreateDepartments < ActiveRecord::Migration
  def change
    create_table :departments do |t|
      t.string :dpname
      t.string :dpno
      t.integer :master_id
      t.integer :level
      t.integer :status

      t.timestamps null: false
    end
  end
end
